import api from "@/libs/request";

export const test = (data: any) => {
  return api.post<{ test: "test" }>("/test", data);
};

/** 上传接口 */
export const upLoad = (data: any) => {
  const formData = new FormData();
  formData.append("file", data.file);
  return api.post(`oss/upload`, formData);
};

/**
 * 商城信息
 */
export const getShopMsg = (data: any) => {
  return api.get(`/integral/manager/shop/get/shopId`, data);
};
